//
//  MatchCollectionViewCell.m
//  MyDIYHouse
//
//  Created by dlios on 15-6-30.
//  Copyright (c) 2015年 李平洋. All rights reserved.
//

#import "MatchCollectionViewCell.h"

#define WIDTH self.contentView.frame.size.width
#define HEIGHT self.contentView.frame.size.height

@implementation MatchCollectionViewCell

- (void)dealloc {
    [_myTableView release];
    [super dealloc];
}

- (instancetype)initWithFrame:(CGRect)frame {
    self = [super initWithFrame:frame];
    if (self) {
        self.myTableView = [[UITableView alloc] initWithFrame:CGRectMake(0, 0, WIDTH, HEIGHT) style:UITableViewStylePlain];
        self.myTableView.rowHeight = 250;
        self.myTableView.separatorStyle = UITableViewCellSeparatorStyleNone;
        [self.contentView addSubview:self.myTableView];
        [_myTableView release];
    }
    return self;
}


@end
